{if $smarty.session.u_isadmin == "1"}
<div class="wrap">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
	<tr>
	<td width="54px" height="43px" class="fr_lefttop"></td>
	<td height="43px" class="fr_centertop" ></td>
	<td width="48px" height="43px" class="fr_righttop"></td>
	</tr>
	<tr>
	<td width="54px" class="fr_leftmiddle" >&nbsp;</td>
	<td class="fr_centermiddle">
<div id='adduser_resp' class="ajaxResponse"></div>
<h2>{t}Add User{/t}</h2>
<form name="adduser" id="adduser" method="post" 
	action="?mod={$smarty.get.mod}&sub1={$smarty.get.sub1}"
	onsubmit="onAddNewUser('adduser', 'adduser_resp', 'thelist'); return false;">
	<input type="hidden" name="act" value="adduser" />
	<table class="editform" width="50%" align="center" cellpadding="5">
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="user_login">{t}User name{/t}<br />{t}(required){/t}</label></th>
			<td width="67%">
			<input name="user_login" id="user_login" type="text" value="" size="40" maxlength="60"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="user_nicename">{t}Full name{/t}</label></th>
			<td width="67%">
			<input name="user_nicename" id="user_nicename" type="text" value="" size="40" maxlength="50"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="user_email">{t}Email{/t}<br />{t}(required){/t}</label></th>
			<td width="67%">
			<input name="user_email" id="user_email" type="text" value="" size="40" maxlength="100"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="user_url">{t}Website{/t}</label></th>
			<td width="67%">
			<input name="user_url" id="user_url" type="text" value="" size="40" maxlength="100"/></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="middle">
			<label for="user_pass">{t}Password{/t}<br />{t}(twice){/t}</label></th>
			<td width="67%">
				<input name="user_pass" id="user_pass" type="password" value="" size="40" maxlength="64"/>
				<input name="user_pass2" id="user_pass2" type="password" value="" size="40" maxlength="64"/>
			</td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="middle">
			<label for="is_admin">{t}Is Administrator{/t}</label></th>
			<td width="67%">
				<input name="is_admin" id="is_admin" type="checkbox" value="1"/>
			</td>
		</tr>
		<tr>
			<td width="67%" colspan="2"  class="submit" align="right">
				<input type="submit" name="submit" value="{t escape=no}Add User &raquo;{/t}" />
			</td>
		</tr>
	</table>
</form>
</td>
	<td width="48px" class="fr_rightmiddle"></td>
	</tr>
	<tr>
	<td width="54px" height="60px" class="fr_leftbot" ></td>
	<td height="60px" class="fr_centerbot"></td>
	<td width="48px" height="60px" class="fr_rightbot" ></td>
	</tr>
</table>
</div>
{/if}